Hệ thống bổ nhiệm bác sĩ trong PHP bằng mã nguồn

1 <?php if(!isset($_SESSION)){
2     session_start();
3     }
4 ?>
5
6 <?php include(
'header.php'); ?>
7
8
9
10
11
12
13     <!--
this is for donor registraton -->
14     <div
class="dashboard" style="background-color:#fff;">
15         <h3
class="text-center" style="background-color:#272327;color: #fff;padding: 5px;">Patient Who taken Appoinment</h3>
16         
17         
18     </div>
19         
20             <div
class="all_user" style="margin-top:0px; margin-left: 40px;">
21                 <?php
22                     include(
'../config.php');
23                     
24
25                     $sql =
" SELECT * FROM booking";
26                     $result = mysqli_query($conn,$sql);
27                     $count = mysqli_num_rows($result);
28
29                     
if($count>=1){
30                         echo
"<table border='1' align='center' cellpadding='32'>
31                             <tr>
32                                 
33                                 <th>Dr.Name</th>
34                                 <th>Contact</th>
35                                 <th>Expert at</th>
36                                 <th>Patient</th>
37
38                                 <th>PatientContact</th>
39                                 <th>Date</th>
40                                 <th>Time</th>
41                                 <th>Action</th>
42                                 
43                             </tr>"
;
44                         
while($row=mysqli_fetch_array($result)){
45                                 echo
"<tr>";
46                                 echo
"<td>".$row['dname']."</td>";
47                                 echo
"<td>".$row['dcontact']."</td>";
48                                 
49                                 
50                                 echo
"<td>".$row['expertise']."</td>";
51                                 echo
"<td>".$row['pname']."</td>";
52                                 echo
"<td>".$row['pcontact']."</td>";
53                                 
54                                 echo
"<td>".$row['dates']."</td>";
55                                 echo
"<td>".$row['tyme']."</td>";
56                                 echo
"<td><button type='submit' name='submit' style='color:#000;'>Update</button><button type='submit' name='submit' style='color:#000;'>Delete</button></td>";
57                                 
58                                 echo
"</tr>";
59                         }
60                         echo
"</table>";
61                     }
62                     
else{
63                         print
"<p align='center'>Sorry, No match found for your search result..!!!</p>";
64                     }
65
66                     ?>
67             </div>
68         
69     
70     
71     
72
73     
74  <?php include(
'footer.php'); ?>
75
76
77     
78     </div><!-- containerFluid Ends -->
79
80
81
82
83     <script src=
"js/bootstrap.min.js"></script>
84
85
86  
87             
88
89
90
91     
92 </body>
93 </html>


Gõ tìm kiếm nhanh...